home *** CD-ROM | disk | FTP | other *** search
/ PC Media 7 / PC MEDIA CD07.iso / share / os2 / av109 / archiver.bb2 next >
Encoding:
Text File  |  1992-08-21  |  5.8 KB  |  202 lines

  1. ;ARCHIVER.BB2, archiver control file for XBBS-OS/2, XGROUP and AV
  2. ;
  3. ;format for this archiver.bb2 file (each entry has 18 lines):
  4. ;
  5. ; 1st line:  ID of archiver (like ARC, LHARC, PKZIP, etc.; human consumption)
  6. ; 2nd line:  normal extension for archives (like ZIP, ARC, LZH; note no period)
  7. ; 3rd line:  offset into file to signature
  8. ; 4th line:  list command
  9. ; 5th line:  extract command
  10. ; 6th line:  extract w/ directories command
  11. ; 7th line:  test archive command
  12. ; 8th line:  add/create command
  13. ; 9th line:  move command
  14. ;10th line:  delete command
  15. ;11th line:  signature (case sensitive, leading spaces count!
  16. ;12th line:  startlist string
  17. ;13th line:  endlist string
  18. ;14th line:  old size position  (all positions 0-based, -1 = not available)
  19. ;15th line:  new size position
  20. ;16th line:  file date position
  21. ;17th line:  number of positions in dates (for "03 June 92" would be 3)
  22. ;18th line:  file name position (absolutely required, of course)
  23. ;
  24. ;a semicolon demarks a comment.  they may appear at any point *except*
  25. ;within the 18 lines of an archiver entry.
  26. ;everything on the line after the semicolon is ignored.
  27. ;
  28. ;note that all archiver strings should include the archiver's paramters to
  29. ;prevent it from stopping for input!  also note that archive types are checked
  30. ;in order of their listing in this file.  finally, this file is set up for
  31. ;the archivers I had lying around; if yours are different versions, you may
  32. ;have to modify this file.  All archivers are OS/2 (or FAPI) versions.
  33. ;
  34. ;how archive listing works:
  35. ;
  36. ;XBBS (or AV) first tries to find a signature match.  failing that, it checks
  37. ;to see if the file might be an ARC-format file.  If the latter, READARC.CMD
  38. ;is spawned (by XBBS) with ARC as the first argument and v as the second,
  39. ;followed by the filename.  If the former, the list command is sent, followed
  40. ;by the filename.  output is redirected to a file that XBBS then displays to
  41. ;the user.  crude, but effective.  AV handles things a little more smoothly.
  42. ;
  43. ;although only the list and extract command strings are currently used by
  44. ;XBBS, include them all. someday most or all of Peeker's functionality will
  45. ;be present in XBBS-OS/2. AV likes them, too, and uses most of them now.
  46. ;
  47. ;note to XGroup DOS users:  you'll probably have to modify the ARJ and
  48. ;LHARC listings in here to work with your archivers.
  49. ;
  50. ;
  51. ;This entry is for Zoo 1.51
  52. ;
  53. ZOO
  54. ZOO
  55. 0
  56. ZOO.EXE v
  57. ZOO.EXE xO
  58. ZOO.EXE xO/
  59. ZOO.EXE -test
  60. ZOO.Exe a
  61. ZOO.EXE aM
  62. ZOO.EXE -delete
  63. ZOO
  64. --------  --- --------  --------- --------
  65. --------  --- --------  --------- --------
  66. 0
  67. 2
  68. 3
  69. 3
  70. 7
  71. ;
  72. ;This entry is for LH2 2.11
  73. ;
  74. LHARC
  75. LZH
  76. 2
  77. LH.EXE /o l
  78. LH.EXE /o x
  79. LH.EXE /o /s x
  80. LH.EXE t
  81. LH.EXE /o a
  82. LH.EXE /o m
  83. LH.EXE /o d
  84. -lh
  85.   -------- -------- -----------------------------------------
  86.   --------          -----------------------------------------
  87. 0
  88. -1
  89. 1
  90. 1
  91. 2
  92. ;
  93. ;This entry is for PKZIP 1.01
  94. ;
  95. PKZIP
  96. ZIP
  97. 0
  98. PKZIP.EXE -v
  99. PKUNZIP.EXE -o
  100. PKUNZIP.EXE -o -d
  101. PKUNZIP.EXE -t
  102. PKZIP.EXE -a
  103. PKZIP.EXE -m
  104. PKZIP.EXE -d
  105. PK\x3\x4
  106.  ------  ------   ----- -----   ----    ----   ------  ----  ----
  107.  ------          ------  ---                                 -------
  108. 0
  109. 2
  110. 4
  111. 2
  112. 8
  113. ;
  114. ;This entry is for Unarj 2.10 ported by Scott Dudley
  115. ;replace begin/end strings with these for UNARJ 2.30 demo version
  116. ;------------ ---------- ---------- ----- ----------------- -------- -----------
  117. ;------------ ---------- ---------- ----- -----------------
  118. ;
  119. ARJ
  120.  
  121. 0
  122. UNARJ.EXE l
  123. UNARJ.EXE e
  124. UNARJ.EXE x
  125. UNARJ.EXE t
  126.  
  127.  
  128.  
  129. \x60\xea
  130. ------------ ---------- ---------- ----- ----------------- -------- ---- ------
  131. ------------ ---------- ---------- ----- -----------------
  132. 1
  133. 2
  134. 4
  135. 1
  136. 0
  137. ;
  138. ;This entry is for ARC 5.12mpl
  139. ;replace begin/end strings with these for ARC2 (6.0)
  140. ;=================  ========  =========
  141. ;             ====  ========
  142. ARC
  143. ARC
  144. 0
  145. ARC.EXE lwn
  146. ARC.EXE ewn
  147.  
  148. ARC.EXE t
  149. ARC.EXE awn
  150. ARC.EXE mwn
  151. ARC.EXE dwn
  152. \x1a
  153. ============  ========  =========
  154.         ====  ========
  155. 1
  156. -1
  157. 2
  158. 3
  159. 0
  160. ;
  161. ;Notes on modifying/updating this file:
  162. ;
  163. ;You can add as many archivers as you like to this file.
  164. ;here are some suggestions on how to go about it:
  165. ;
  166. ;list an archive with the archiver, redirecting to a disk
  167. ;file (ex. "ARC l AFILE.ARC > TEMP.").  Load the resultant
  168. ;file into a text editor.  Clip out the startlist and endlist
  169. ;strings and paste directly into this file on the appropriate
  170. ;line; prevents errors due to typos when copying manually.
  171. ;Count the positions of filename, date, etc. and place on the
  172. ;appropriate line.  Now run the archiver redirected to a file
  173. ;to get its help screen (ex. "ARC > TEMP." or "ZOO h > TEMP.").
  174. ;Look for the various command options (extract, list, etc.) and
  175. ;put them into the file on the appropriate lines -- remember to
  176. ;add the modifiers to prevent the archiver from stopping to ask
  177. ;questions!  You could be in deep doo-doo if it's a detached
  178. ;process.  Remember, while it may seem a pain in the arse to have
  179. ;to edit this file when an archiver changes its command structure
  180. ;or list format, at least it's something within your control;
  181. ;you don't have to wait for an update to AV.
  182. ;
  183. ;Here's an example of an ARC listing (5.12mpl, command "ARC l"):
  184. ;
  185. ;Name          Length    Date
  186. ;============  ========  =========    <--this line is start-of-list
  187. ;MAKEFILE           374  28 Nov 89
  188. ;QSORT.C          14279  29 Nov 89
  189. ;QSORT.EXE        24629  29 Nov 89
  190. ;STUFF.H            371  29 Nov 89
  191. ;        ====  ========               <--this line is end-of-list
  192. ;Total      4     39653
  193. ;
  194. ;Note the filename is in position 0, old length in position 1, and the
  195. ;date starts in position 2, with three parts.  Compare that to the
  196. ;archiver entry for ARC 5.12mpl above and you should get a feel for
  197. ;what all those fields mean.
  198. ;
  199. ;
  200. ;
  201. ;always end file with blank line or comment
  202.